package cn.wolfcode.education.service;

import cn.wolfcode.education.domain.Classroom;
import cn.wolfcode.education.query.QueryObject;
import cn.wolfcode.education.util.PageResult;

import java.util.List;

public interface IClassroomService {
    //新增教室
    public void insert(Classroom classroom);
    //修改教室
    public void update(Classroom classroom);
    //查看教室
    public Classroom queryById(Long id);
    //教室列表
    public List<Classroom> queryAll();

    PageResult query(QueryObject qo);

    void save(Classroom role);
    //启用/停用教室
    void changeStatus(Long id);
    //根据班级id查询教室
    List<Classroom> queryClassoomByClassgradeId(Long id);
}
